//自定义模版
Vue.component('myview',{
    props:["mv_names"],//配置自定义模板中用到的变量
    template:`
    <div>
    <ul>
        <li v-for="name in mv_names" v-text="name"></li>
    </ul>
</div>
    `
})
let vm=new Vue({
    el:"#v",
    data:{
        names:["刘备","关羽","张飞"]
    }
})